package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 wsw_device
 * 
 * @author ruoyi
 * @date 2024-12-09
 */
public class WswDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主id */
    private Long id;

    /** 设备名称输入 */
    @Excel(name = "设备名称输入")
    private String deviceName;

    /** ip地址输入 */
    @Excel(name = "ip地址输入")
    private String ipAddress;

    /** ip检测按钮 */
    @Excel(name = "ip检测按钮")
    private Integer ipCheckButton;

    /** ip检测检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "ip检测检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ipCheckTime;

    /** snmp检测按钮 */
    @Excel(name = "snmp检测按钮")
    private Integer snmpCheckButton;

    /** snmp检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "snmp检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date snmpCheckTime;

    /** 记录人员 */
    @Excel(name = "记录人员")
    private String recordPerson;

    /** 填写时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "填写时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fillTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setIpAddress(String ipAddress) 
    {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() 
    {
        return ipAddress;
    }
    public void setIpCheckButton(Integer ipCheckButton) 
    {
        this.ipCheckButton = ipCheckButton;
    }

    public Integer getIpCheckButton() 
    {
        return ipCheckButton;
    }
    public void setIpCheckTime(Date ipCheckTime) 
    {
        this.ipCheckTime = ipCheckTime;
    }

    public Date getIpCheckTime() 
    {
        return ipCheckTime;
    }
    public void setSnmpCheckButton(Integer snmpCheckButton) 
    {
        this.snmpCheckButton = snmpCheckButton;
    }

    public Integer getSnmpCheckButton() 
    {
        return snmpCheckButton;
    }
    public void setSnmpCheckTime(Date snmpCheckTime) 
    {
        this.snmpCheckTime = snmpCheckTime;
    }

    public Date getSnmpCheckTime() 
    {
        return snmpCheckTime;
    }
    public void setRecordPerson(String recordPerson) 
    {
        this.recordPerson = recordPerson;
    }

    public String getRecordPerson() 
    {
        return recordPerson;
    }
    public void setFillTime(Date fillTime) 
    {
        this.fillTime = fillTime;
    }

    public Date getFillTime() 
    {
        return fillTime;
    }
    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceName", getDeviceName())
            .append("ipAddress", getIpAddress())
            .append("ipCheckButton", getIpCheckButton())
            .append("ipCheckTime", getIpCheckTime())
            .append("snmpCheckButton", getSnmpCheckButton())
            .append("snmpCheckTime", getSnmpCheckTime())
            .append("recordPerson", getRecordPerson())
            .append("fillTime", getFillTime())
            .append("modifyTime", getModifyTime())
            .toString();
    }
}
